﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
// add
using WebLib;

public partial class Program_Welcome : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack)
        {
            litPageLoadTime.Text = "<br>Page load time = " + DateTime.Now.ToString("yyyy,MM,dd,HH,mm,ss,fff");
        }
        else
        {
            litProjectStartTime.Text = "Project start time = " + CProject.StartTime.ToString("yyyy,MM,dd,HH,mm,ss,fff");
        }
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        litMsg.Text = "<br> Click time = " + DateTime.Now.ToString("yyyy,MM,dd,HH,mm,ss,fff");
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        Response.Redirect(@"~/JavaScriptTest/JavaScriptTest1.htm");

    }
}